<?php
	// the line below is only needed if the include path is not set on php.ini
//$val2 = ini_set("include_path",ini_get("include_path").":/usr/share/php/phpreports");

//$val = ini_get("include_path");
//$val = $val . ":" . "/usr/share/php/phpreports";
//ini_set("include_path", $val);
	include_once "PHPReportMaker.php";
	$oRpt = new PHPReportMaker();
	$oRpt->setUser('reginaldo');
	$oRpt->setPassword('Lider002');
	$oRpt->setXML('sales.xml');

	$oOut = $oRpt->createOutputPlugin("default");
	$oOut->setClean(false);
	$oRpt->setOutputPlugin($oOut);

	$oRpt->run();
?>
